import time
from selenium import webdriver
from Page1 import Page1
from Page2 import Page2
import unittest
class TestCase(unittest.TestCase):
    def setUp(self) ->None:
        self.driver=webdriver.Firefox()
        self.driver.maximize_window()
    def tearDown(self) ->None:
        time.sleep(10)
        self.driver.quit()
    def test_A3mall_01(self):
        po=Page1(self.driver)
        po.luoji_A3mall1()
    def test_A3mall_02(self):
        self.test_A3mall_01()
        po=Page2(self)
        po.luoji_A3mall2()
if __name__ == '__main__':
    unittest.main()